//
//  BaseParameter.swift
//  JRHttpRequestManager
//
//  Created by 京睿 on 2017/6/9.
//  Copyright © 2017年 JingRuiWangKe. All rights reserved.
//

import Foundation
import JRConfigurations

class BaseParameter: BaseParameterInterface {
    func addition(_ origin: Any!) -> Any! {
        if var origin = origin as? [String: Any] {
            origin["version"]   = kConfig.JRInfo.version
            origin["device"]    = kConfig.JRInfo.device
            origin["deviceid"]  = kConfig.JRInfo.deviceid
            return origin
        }
        return origin
    }
}
